package QL;

import java.util.Map;

public class ButlerAccountPhoneBatchGenerateRequest implements IQLRequest
{
    /// <summary>
    /// 区服Id
    /// </summary>
    public long ZoneId;

    /// <summary>
    /// 生成数量，1-100
    /// </summary>
    public long Amount;

    /// <summary>
    /// 指定密码
    /// </summary>
    public String Password;

    /// <summary>
    /// 账号前缀字符
    /// </summary>
    public String Prefix;

    @Override
    public String GetApiName()
    {
        return "butler.account.phone.batch.generate";
    }

    @Override
    public void Validate()
    {
    }

    @Override
    public void AddParameters(Map<String, String> map)
    {
        map.put("zone_id", String.valueOf(ZoneId));
        map.put("amount", String.valueOf(Amount));
        map.put("password", Password);
        map.put("prefix", Prefix);
    }
}
